package com.baizhi.entity;

import java.util.Date;
import java.util.List;

public class Survey {
	private int id;
	private String title;
	private String pretext;
	private String nexttext;
	private String exittext;
	private String donetext;
	private Date createtime;
	private int closed;
	private String logophotopath;
	private int userid;
	private List<Page> pageList;
	private int minPageId;
	private int maxPageId;

	public int getMinPageId() {
		return minPageId;
	}

	public void setMinPageId(int minPageId) {
		this.minPageId = minPageId;
	}

	public int getMaxPageId() {
		return maxPageId;
	}

	public void setMaxPageId(int maxPageId) {
		this.maxPageId = maxPageId;
	}

	public List<Page> getPageList() {
		return pageList;
	}
	public void setPageList(List<Page> pageList) {
		this.pageList = pageList;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getPretext() {
		return pretext;
	}
	public void setPretext(String pretext) {
		this.pretext = pretext;
	}
	public String getNexttext() {
		return nexttext;
	}
	public void setNexttext(String nexttext) {
		this.nexttext = nexttext;
	}
	public String getExittext() {
		return exittext;
	}
	public void setExittext(String exittext) {
		this.exittext = exittext;
	}
	public String getDonetext() {
		return donetext;
	}
	public void setDonetext(String donetext) {
		this.donetext = donetext;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	public int getClosed() {
		return closed;
	}
	public void setClosed(int closed) {
		this.closed = closed;
	}
	public String getLogophotopath() {
		return logophotopath;
	}
	public void setLogophotopath(String logophotopath) {
		this.logophotopath = logophotopath;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}

	@Override
	public String toString() {
		return "Survey{" +
				"id=" + id +
				", title='" + title + '\'' +
				", pretext='" + pretext + '\'' +
				", nexttext='" + nexttext + '\'' +
				", exittext='" + exittext + '\'' +
				", donetext='" + donetext + '\'' +
				", createtime=" + createtime +
				", closed=" + closed +
				", logophotopath='" + logophotopath + '\'' +
				", userid=" + userid +
				", pageList=" + pageList +
				", minPageId=" + minPageId +
				", maxPageId=" + maxPageId +
				'}';
	}
}
